import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import b from './components/Car.vue'
import a from './components/a.vue'

Vue.use(Router)


export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path:'/ar',components:b
    },
    {
      path:'/a',components:a
    }
  ]
})
